/*
 * Classname IBroker.java
 * 
 * Version Information
 * Date Mar 21, 2006
 *
 * Copyright (c) AmSoft Systems, 2006
 */
package net.amsoft.iservice.isso.hibernate;

import java.util.Map;

import org.apache.log4j.Logger;

public class IBroker extends ISSOObject {
    private static Logger logger = Logger.getLogger(IBroker.class);
    private String sServerName;
    private String sDescription;
    private String sContactURL;
    private String sForwardingURL;
    private Map oBrokerData;
    private Map oBrokerAdmin;

    public IBroker() {
    }

    public String getServerName() {
        return sServerName;
    }

    public void setServerName(String serverName) {
        this.sServerName = serverName;
    }

    public String getDescription() {
        return sDescription;
    }

    public void setDescription(String description) {
        this.sDescription = description;
    }

    public Map getBrokerData() {
        return oBrokerData;
    }

    public void setBrokerData(Map brokerData) {
        this.oBrokerData = brokerData;
    }

    public Map getBrokerAdmin() {
        return oBrokerAdmin;
    }

    public void setBrokerAdmin(Map brokerAdmin) {
        this.oBrokerAdmin = brokerAdmin;
    }

    public String getContactURL() {
        return sContactURL;
    }

    public void setContactURL(String contactURL) {
        this.sContactURL = contactURL;
    }

    public String getForwardingURL() {
        return sForwardingURL;
    }

    public void setForwardingURL(String forwardingURL) {
        this.sForwardingURL = forwardingURL;
    }

    public void debug(String prefix) {
        logger.debug(prefix + " : Broker (" + id + ", " + sServerName + ", "
                + sDescription + ", " + creationTime + ", " + modificationTime
                + ", " + state + ")");
    }
}
